package com.cjj.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cjj.dao.entity.SecondhandOrder;
import com.cjj.dto.req.CreateSecondhandProductReqDTO;
import com.cjj.dto.req.SearchProductReqDTO;
import com.cjj.dto.req.UpdateBySecondHandIdReqDTO;

/**
 * <p>
 * 二手商品订单表 服务类
 * </p>
 *
 * @author admin
 * @since 2025-10-25
 */
public interface SecondhandOrderService extends IService<SecondhandOrder> {


    void createOrder(CreateSecondhandProductReqDTO createSecondhandProductReqDTO);

    void updateByOrderId(UpdateBySecondHandIdReqDTO updateBySecondHandIdReqDTO );

    IPage<SecondhandOrder> searchProduct(Integer pageNum, Integer pageSize,SearchProductReqDTO searchProductReqDTO);
}
